import { defHttp } from '/@/utils/http/axios';

enum Api {
  loginfo = '/sys/loginfo',
  visitInfo = '/sys/visitInfo',
  projectKanbanControllerOrder = '/poj/projectKanbanController/order',
  projectKanbanControllerPreKanban = 'poj/projectKanbanController/pre/kanban',
  pojProjectKanbanControllerScheduling = '/poj/projectKanbanController/scheduling',
  projectKanbanControllerZzKanban = '/poj/projectKanbanController/zz/kanban'
}
/**
 * 日志统计信息
 * @param params
 */
export const getLoginfo = (params) => defHttp.get({ url: Api.loginfo, params }, { isTransformResponse: false });
/**
 * 访问量信息
 * @param params
 */
export const getVisitInfo = (params) => defHttp.get({ url: Api.visitInfo, params }, { isTransformResponse: false });

export const getProjectKanbanControllerOrder= (params) => defHttp.get({ url: Api.projectKanbanControllerOrder, params }, { isTransformResponse: false });
export const getProjectKanbanControllerPreKanban = (params) => defHttp.get({ url: Api.projectKanbanControllerPreKanban, params }, { isTransformResponse: false });
export const getPojProjectKanbanControllerScheduling = (params) => defHttp.get({ url: Api.pojProjectKanbanControllerScheduling, params }, { isTransformResponse: false });
export const projectKanbanControllerZzKanban = (params) => defHttp.get({ url: Api.projectKanbanControllerZzKanban, params }, { isTransformResponse: false });
